package org.jsola.hr.dto.attendschedule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import java.util.List;

/**
 * @author zhuhaoran
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "聚合API返回假期对象")
@Data
public class AttendJuHeHolidayDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "节假日描述", example = "4月4日至4月6日放假3天")
    private String desc;

    @ApiModelProperty(notes = "节假日日期", example = "2020-4-4")
    private String festival;

    @ApiModelProperty(notes = "节假日名称", example = "清明节")
    private String name;

    @ApiModelProperty(notes = "节假日天数", example = "3")
    private String list_num;

    @ApiModelProperty(notes = "其余描述", example = "2020年4月7日至2020年4月10日请假4天，与周末连休可拼9天长假")
    private String rest;

    @ApiModelProperty(notes = "节假日详情列表", example = "")
    private List<AttendJuHeHolidayDetailDTO> list;

}
